package com.e.dianshang.service.impl;

import com.e.dianshang.mapper.GoodsClassOneMapper;
import com.e.dianshang.pojo.GoodsClassOne;
import com.e.dianshang.service.GoodsClassOneService;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: HP
 * Date: 2020/11/11 16:10
 * Description:
 */
@Data
@NoArgsConstructor
@Service("GoodsClassOneService")
public class GoodsClassOneServiceImpl implements GoodsClassOneService {

    @Resource
    private GoodsClassOneMapper goodsClassOneMapper;

    @Override
    public List<GoodsClassOne> findAllClassOne() {
        return goodsClassOneMapper.selectAll();
    }
}
